//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.carhailing.common.response;

public class JwtResponse {
    private String token;
    private String timeStr;

    public JwtResponse() {
    }

    public String getToken() {
        return this.token;
    }

    public String getTimeStr() {
        return this.timeStr;
    }

    public void setToken(final String token) {
        this.token = token;
    }

    public void setTimeStr(final String timeStr) {
        this.timeStr = timeStr;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof JwtResponse)) {
            return false;
        } else {
            JwtResponse other = (JwtResponse)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$token = this.getToken();
                Object other$token = other.getToken();
                if (this$token == null) {
                    if (other$token != null) {
                        return false;
                    }
                } else if (!this$token.equals(other$token)) {
                    return false;
                }

                Object this$timeStr = this.getTimeStr();
                Object other$timeStr = other.getTimeStr();
                if (this$timeStr == null) {
                    if (other$timeStr != null) {
                        return false;
                    }
                } else if (!this$timeStr.equals(other$timeStr)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof JwtResponse;
    }

    public int hashCode() {
        int result = 1;
        Object $token = this.getToken();
        result = result * 59 + ($token == null ? 43 : $token.hashCode());
        Object $timeStr = this.getTimeStr();
        result = result * 59 + ($timeStr == null ? 43 : $timeStr.hashCode());
        return result;
    }

    public String toString() {
        return "JwtResponse(token=" + this.getToken() + ", timeStr=" + this.getTimeStr() + ")";
    }
}
